package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "adapay结算账户详情")
@Table(name = "tb_adapay_settle_account")
public class AdapaySettleAccount {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("adapay分销账户Id")
    private String adapayDistributorId;
    @ApiModelProperty("由 Adapay 生成的结算账户对象 id")
    private String adapayId;
    @ApiModelProperty("审核状态（-1: 未提交申请，0：审核中，1：审核通过，2：审核失败）")
    private Integer checkStatus;
    @ApiModelProperty("审核失败描述")
    private String checkStatusRemark;
    @ApiModelProperty("通道，目前仅支持：bank_account（银行卡）")
    private String channel;
    @ApiModelProperty("开户银行编码")
    private String bankCode;
    @ApiModelProperty("开户银行名称")
    private String bankName;
    @ApiModelProperty("银行账户类型：1-对公；2-对私")
    private Integer bankAcctType;
    @ApiModelProperty("银行卡号")
    private String cardNo;
    @ApiModelProperty("银行卡对应的户名")
    private String cardName;
    @ApiModelProperty("证件号，银行账户类型为对私时，必填")
    private String certId;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("银行账户开户银行所在省份编码")
    private String provCode;
    @ApiModelProperty("银行账户开户银行所在地区编码")
    private String areaCode;
    @ApiModelProperty("证件类型，仅支持：00-身份证，银行账户类型为对私时，必填")
    private String certType;
    @ApiModelProperty("创建信息")
    private String createResponse;

    @ApiModelProperty("标注")
    private String remark;
    @ApiModelProperty("版本数")
    private Integer version_num;
    @ApiModelProperty("是否被移除 0否 1是")
    private Integer removed;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("创建人")
    private Long fCreateUserId;
    @ApiModelProperty("更新人")
    private Long fUpdateUserId;
}


